home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / p / pov / povlisti.ngs / piece2.pov < prev    next >
Encoding:
Text File  |  1992-07-02  |  2.5 KB  |  83 lines

  1. // Persistence Of Vision Raytracer version 1.0 sample file.
  2.  
  3. // piece 2: 
  4. //          by Truman Brown 11/91
  5.  
  6. //          Close-up of a museum piece in the Woild Museum
  7.  
  8. #include "colors.inc"
  9. #include "textures.inc"
  10. #include "shapes.inc"
  11.  
  12. #include "light.inc"
  13. #include "ttexture.inc"
  14. #include "tori2.inc"
  15. #include "spural1.inc"
  16. #include "spural2.inc"
  17.  
  18. composite {
  19.    object { light3 translate < -43  14  -80>  }
  20.    object { light3 translate < 134 223  -20>  }
  21.    object { light4 translate <  28  88 -259>  }
  22. }
  23.  
  24. camera {
  25.    location  < 15.0     23.0 -55.0>
  26.    direction <  0.0      0.0   2.0  >
  27.    up        <  0.0      1.0   0.0  >
  28.    right     <  1.33333  0.0   0.0  >
  29.    look_at   <  0.0     -0.5   0.0  >
  30. }
  31.  
  32. #declare orb =
  33. composite {
  34.    object { torus7 translate < 0.0  9.510565 0.0 > texture { oak  }  }
  35.    object { torus5 translate < 0.0  8.090170 0.0 > texture { oak  }  }
  36.    object { torus3 translate < 0.0  5.877853 0.0 > texture { oak  }  }
  37.    object { torus1 translate < 0.0  3.090170 0.0 > texture { oak  }  }
  38.    object { torus  translate < 0.0  0.000000 0.0 > texture { oak  }  }
  39.    object { torus1 translate < 0.0 -3.090170 0.0 > texture { oak  }  }
  40.    object { torus3 translate < 0.0 -5.877853 0.0 > texture { oak  }  }
  41.    object { torus5 translate < 0.0 -8.090170 0.0 > texture { oak  }  }
  42.    object { torus7 translate < 0.0 -9.510565 0.0 > texture { oak  }  }
  43.    object { sphere { <0 0 0> 4.3  } texture { color White ambient 0.0 diffuse 0.1 reflection 0.98 specular 1.0 roughness 0.0  }  }
  44.  
  45.    object { torus9 rotate <90  60 0> texture { brace_texture  }  }
  46.    object { torus9 rotate <90 120 0> texture { brace_texture  }  }
  47.    object { torus9 rotate <90 180 0> texture { brace_texture  }  }
  48.    bounded_by {
  49.       sphere { <0 0 0> 11.0  }
  50.    }
  51.    rotate <0 0 25>
  52. }
  53.  
  54. #declare plate =
  55. object {
  56.    intersection {
  57.       quadric { Cylinder_Y scale <15 1 15>  }
  58.       plane { <0 1 0> 0  }
  59.       plane { <0 -1 0> 1  }
  60.    }
  61.    texture {
  62.       gilt_texture
  63.    }
  64. }
  65.  
  66. #declare plate_border =
  67. object {
  68.    intersection {
  69.       quadric { Cylinder_Y scale <17 1 17>  }
  70.       quadric { Cylinder_Y scale <15 1 15> inverse  }
  71.       plane { <0 1 0> 0  }
  72.       plane { <0 -1 0> 1  }
  73.    }
  74.    texture { oak  }
  75. }
  76.  
  77. composite { orb translate <0.0 3.0 0.0>  }
  78. composite { spural1 rotate <0 -28 0> translate < 8.9 -12.5 -0.5>  }
  79. composite { spural2 rotate <0 212 0> translate <-8.9 -12.5 -0.5>  }
  80.  
  81. object { plate translate <0 -12.7 0>  }
  82. object { plate_border translate <0 -12.7 0>  }
  83.